import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Insets;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.event.ActionEvent;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JSeparator;
import javax.swing.JSlider;
import javax.swing.JTabbedPane;
import javax.swing.JTextField;
import org.rsbot.script.ScriptManifest;

public class YakAttack$YakAttackProGUI extends JFrame
{
  private JPanel panel1;
  private JLabel label1;
  private JSeparator separator1;
  private JLabel label3;
  private JLabel label4;
  private JLabel label5;
  private JLabel label2;
  private JSeparator separator2;
  private JSeparator separator3;
  private JSeparator separator4;
  private JLabel label6;
  private JLabel label7;
  private JTabbedPane tabbedPane1;
  private JPanel panel2;
  private JLabel label8;
  private JLabel label10;
  private JComboBox list3;
  private JSeparator separator5;
  private JLabel DMLine1;
  private JLabel DMLine2;
  private JLabel DMLine3;
  private JSeparator separator8;
  private JLabel label15;
  private JCheckBox checkBox7;
  private JCheckBox checkBox6;
  private JLabel orginalWepLabel;
  private JTextField orginalWepTextField;
  private JComboBox specComboBox;
  private JPanel panel3;
  private JLabel label9;
  private JScrollPane scrollPane2;
  private JList list2;
  private JLabel label17;
  private JTextField textField1;
  private JCheckBox checkBox8;
  private JSeparator separator10;
  private JLabel mouseSpeedLabel;
  private JSlider mouseSpeedSlider;
  private JButton Start;
  private JButton Exit;
  private JLabel label20;

  public YakAttack$YakAttackProGUI(YakAttack paramYakAttack)
  {
    initComponents();
  }

  private void StartActionPerformed(ActionEvent paramActionEvent) {
    YakAttack.access$702(this.this$0, "Setting up Gui");

    YakAttack.access$802(this.this$0, this.checkBox8.isSelected());
    YakAttack.access$902(this.this$0, this.checkBox7.isSelected());
    YakAttack.access$1002(this.this$0, this.checkBox6.isSelected());
    YakAttack.access$1102(this.this$0, this.mouseSpeedSlider.getValue());

    this.this$0.log("Getting MouseSpeed at " + YakAttack.access$1100(this.this$0));

    if (YakAttack.access$800(this.this$0)) {
      YakAttack.access$1202(this.this$0, Integer.parseInt(this.textField1.getText()));

      if (this.list2.getSelectedValue().equals("None")) {
        YakAttack.access$802(this.this$0, false);
      } else if (this.list2.getSelectedValue().equals("Cake")) {
        YakAttack.access$1302(this.this$0, 1891);
        YakAttack.access$702(this.this$0, "Eating Cake");
      } else if (this.list2.getSelectedValue().equals("Chocolate cake")) {
        YakAttack.access$1302(this.this$0, 1897);
        YakAttack.access$702(this.this$0, "Eating Chocolate cake");
      } else if (this.list2.getSelectedValue().equals("Plain pizza")) {
        YakAttack.access$1302(this.this$0, 2289);
        YakAttack.access$702(this.this$0, "Eating Plain pizza");
      } else if (this.list2.getSelectedValue().equals("Pineapple pizza")) {
        YakAttack.access$1302(this.this$0, 2301);
        YakAttack.access$702(this.this$0, "Eating Pineapple pizza");
      } else if (this.list2.getSelectedValue().equals("Meat pizza")) {
        YakAttack.access$1302(this.this$0, 2293);
        YakAttack.access$702(this.this$0, "Eating Meat pizza");
      } else if (this.list2.getSelectedValue().equals("Lobster")) {
        YakAttack.access$1302(this.this$0, 379);
        YakAttack.access$702(this.this$0, "Eating Lobster");
      } else if (this.list2.getSelectedValue().equals("Cavefish")) {
        YakAttack.access$1302(this.this$0, 15266);
        YakAttack.access$702(this.this$0, "Eating Cavefish");
      } else if (this.list2.getSelectedValue().equals("Salmon")) {
        YakAttack.access$1302(this.this$0, 329);
        YakAttack.access$702(this.this$0, "Eating Salmon");
      } else if (this.list2.getSelectedValue().equals("Tuna")) {
        YakAttack.access$1302(this.this$0, 361);
        YakAttack.access$702(this.this$0, "Eating Tuna");
      } else if (this.list2.getSelectedValue().equals("Trout")) {
        YakAttack.access$1302(this.this$0, 333);
        YakAttack.access$702(this.this$0, "Eating Trout");
      } else if (this.list2.getSelectedValue().equals("Sharks")) {
        YakAttack.access$1302(this.this$0, 385);
        YakAttack.access$702(this.this$0, "Eating Sharks");
      } else if (this.list2.getSelectedValue().equals("Monkfish")) {
        YakAttack.access$1302(this.this$0, 7946);
        YakAttack.access$702(this.this$0, "Eating Monkfish");
      } else if (this.list2.getSelectedValue().equals("Manta ray")) {
        YakAttack.access$1302(this.this$0, 391);
        YakAttack.access$702(this.this$0, "Eating Manta ray");
      } else if (this.list2.getSelectedValue().equals("Sea turtle")) {
        YakAttack.access$1302(this.this$0, 397);
        YakAttack.access$702(this.this$0, "Eating Sea turtle");
      } else if (this.list2.getSelectedValue().equals("Swordfish")) {
        YakAttack.access$1302(this.this$0, 373);
        YakAttack.access$702(this.this$0, "Eating Swordfish");
      } else if (this.list2.getSelectedValue().equals("Rocktail")) {
        YakAttack.access$1302(this.this$0, 15272);
        YakAttack.access$702(this.this$0, "Eating Rocktail");
      }
    }

    if (YakAttack.access$900(this.this$0)) {
      this.this$0.log("Special Attacks Enabled");

      if (this.specComboBox.getSelectedItem().equals("Dragon dagger (p++)"))
      {
        YakAttack.access$1402(this.this$0, 5698);
        YakAttack.access$1502(this.this$0, 250);
      } else if (this.specComboBox.getSelectedItem().equals("Dragon longsword"))
      {
        YakAttack.access$1402(this.this$0, 1305);
        YakAttack.access$1502(this.this$0, 250);
      } else if (this.specComboBox.getSelectedItem().equals("Dragon mace")) {
        YakAttack.access$1402(this.this$0, 1434);
        YakAttack.access$1502(this.this$0, 250);
      } else if (this.specComboBox.getSelectedItem().equals("Dragon battleaxe"))
      {
        YakAttack.access$1402(this.this$0, 1377);
        YakAttack.access$1502(this.this$0, 1000);
      } else if (this.specComboBox.getSelectedItem().equals("Dragon halberd"))
      {
        YakAttack.access$1402(this.this$0, 3204);
        YakAttack.access$1502(this.this$0, 300);
      } else if (this.specComboBox.getSelectedItem().equals("Dragon scimitar"))
      {
        YakAttack.access$1402(this.this$0, 4587);
        YakAttack.access$1502(this.this$0, 550);
      } else if (this.specComboBox.getSelectedItem().equals("Dragon claws"))
      {
        YakAttack.access$1402(this.this$0, 14484);
        YakAttack.access$1502(this.this$0, 500);
      } else if (this.specComboBox.getSelectedItem().equals("Dragon 2h sword"))
      {
        YakAttack.access$1402(this.this$0, 7158);
        YakAttack.access$1502(this.this$0, 550);
      } else if (this.specComboBox.getSelectedItem().equals("Dorgeshuun c'bow"))
      {
        YakAttack.access$1402(this.this$0, 8880);
        YakAttack.access$1502(this.this$0, 900);
      } else if (this.specComboBox.getSelectedItem().equals("Magic shortbow"))
      {
        YakAttack.access$1402(this.this$0, 861);
        YakAttack.access$1502(this.this$0, 550);
      } else if (this.specComboBox.getSelectedItem().equals("Seercull")) {
        YakAttack.access$1402(this.this$0, 6724);
        YakAttack.access$1502(this.this$0, 1000);
      } else if (this.specComboBox.getSelectedItem().equals("Dark bow")) {
        YakAttack.access$1402(this.this$0, 11235);
        YakAttack.access$1502(this.this$0, 650);
      } else if (this.specComboBox.getSelectedItem().equals("Granite maul"))
      {
        YakAttack.access$1402(this.this$0, 4153);
        YakAttack.access$1502(this.this$0, 500);
      } else if (this.specComboBox.getSelectedItem().equals("Granite mace"))
      {
        YakAttack.access$1402(this.this$0, 14679);
        YakAttack.access$1502(this.this$0, 500);
      } else if (this.specComboBox.getSelectedItem().equals("Abyssal whip"))
      {
        YakAttack.access$1402(this.this$0, 4151);
        YakAttack.access$1502(this.this$0, 500);
      } else if (this.specComboBox.getSelectedItem().equals("Ancient mace"))
      {
        YakAttack.access$1402(this.this$0, 11061);
        YakAttack.access$1502(this.this$0, 1000);
      } else if (this.specComboBox.getSelectedItem().equals("Saradomin sword"))
      {
        YakAttack.access$1402(this.this$0, 11730);
        YakAttack.access$1502(this.this$0, 250);
      } else if (this.specComboBox.getSelectedItem().equals("Armadyl godsword"))
      {
        YakAttack.access$1402(this.this$0, 11694);
        YakAttack.access$1502(this.this$0, 500);
      } else if (this.specComboBox.getSelectedItem().equals("Bandos godsword"))
      {
        YakAttack.access$1402(this.this$0, 11696);
        YakAttack.access$1502(this.this$0, 1000);
      } else if (this.specComboBox.getSelectedItem().equals("Saradomin godsword"))
      {
        YakAttack.access$1402(this.this$0, 11698);
        YakAttack.access$1502(this.this$0, 500);
      } else if (this.specComboBox.getSelectedItem().equals("Zamorak godsword"))
      {
        YakAttack.access$1402(this.this$0, 11700);
        YakAttack.access$1502(this.this$0, 600);
      }
      if (!this.orginalWepTextField.getText().isEmpty())
        try {
          YakAttack.access$1602(this.this$0, Integer.parseInt(this.orginalWepTextField.getText()));
        }
        catch (NumberFormatException localNumberFormatException) {
        }
      else
        YakAttack.access$1602(this.this$0, this.specComboBox.getSelectedIndex());
    }
    else {
      this.this$0.log("Not doing Spec");
    }

    if (this.checkBox8.isSelected()) {
      if (this.list3.getSelectedItem().equals("Bronze arrow")) {
        YakAttack.access$1702(this.this$0, 882);
        YakAttack.access$1802(this.this$0, "Bronze arrow");
      } else if (this.list3.getSelectedItem().equals("Iron arrow")) {
        YakAttack.access$1702(this.this$0, 884);
        YakAttack.access$1802(this.this$0, "Iron arrow");
      } else if (this.list3.getSelectedItem().equals("Steel arrow")) {
        YakAttack.access$1702(this.this$0, 886);
        YakAttack.access$1802(this.this$0, "Steel arrow");
      } else if (this.list3.getSelectedItem().equals("Mithril arrow")) {
        YakAttack.access$1702(this.this$0, 888);
        YakAttack.access$1802(this.this$0, "Mithril arrow");
      } else if (this.list3.getSelectedItem().equals("Adamant arrow")) {
        YakAttack.access$1702(this.this$0, 890);
        YakAttack.access$1802(this.this$0, "Adamant arrow");
      } else if (this.list3.getSelectedItem().equals("Rune arrow")) {
        YakAttack.access$1702(this.this$0, 892);
        YakAttack.access$1802(this.this$0, "Rune arrow");
      } else if (this.list3.getSelectedItem().equals("Bronze bolts")) {
        YakAttack.access$1702(this.this$0, 877);
        YakAttack.access$1802(this.this$0, "Bronze bolts");
      } else if (this.list3.getSelectedItem().equals("Bluerite bolts")) {
        YakAttack.access$1702(this.this$0, 9139);
        YakAttack.access$1802(this.this$0, "Bluerite bolts");
      } else if (this.list3.getSelectedItem().equals("Bone bolts")) {
        YakAttack.access$1702(this.this$0, 8882);
        YakAttack.access$1802(this.this$0, "Bone bolts");
      } else if (this.list3.getSelectedItem().equals("Iron bolts")) {
        YakAttack.access$1702(this.this$0, 9140);
        YakAttack.access$1802(this.this$0, "Iron bolts");
      } else if (this.list3.getSelectedItem().equals("Steel bolts")) {
        YakAttack.access$1702(this.this$0, 9141);
        YakAttack.access$1802(this.this$0, "Steel bolts");
      } else if (this.list3.getSelectedItem().equals("Black bolts")) {
        YakAttack.access$1702(this.this$0, 13083);
        YakAttack.access$1802(this.this$0, "Bronze bolts");
      } else if (this.list3.getSelectedItem().equals("Mithril bolts")) {
        YakAttack.access$1702(this.this$0, 9142);
        YakAttack.access$1802(this.this$0, "Mithril bolts");
      } else if (this.list3.getSelectedItem().equals("Adamant bolts")) {
        YakAttack.access$1702(this.this$0, 9143);
        YakAttack.access$1802(this.this$0, "Adamant bolts");
      } else if (this.list3.getSelectedItem().equals("Rune bolts")) {
        YakAttack.access$1702(this.this$0, 9144);
        YakAttack.access$1802(this.this$0, "Rune bolts");
      } else if (this.list3.getSelectedItem().equals("Broad bolts")) {
        YakAttack.access$1702(this.this$0, 13280);
        YakAttack.access$1802(this.this$0, "Broad bolts");
      } else if (this.list3.getSelectedItem().equals("Bronze knife")) {
        YakAttack.access$1702(this.this$0, 864);
        YakAttack.access$1802(this.this$0, "Bronze knife");
      } else if (this.list3.getSelectedItem().equals("Iron knife")) {
        YakAttack.access$1702(this.this$0, 863);
        YakAttack.access$1802(this.this$0, "Iron knife");
      } else if (this.list3.getSelectedItem().equals("Steel knife")) {
        YakAttack.access$1702(this.this$0, 865);
        YakAttack.access$1802(this.this$0, "Steel knife");
      } else if (this.list3.getSelectedItem().equals("Black knife")) {
        YakAttack.access$1702(this.this$0, 869);
        YakAttack.access$1802(this.this$0, "Black knife");
      } else if (this.list3.getSelectedItem().equals("Mithril knife")) {
        YakAttack.access$1702(this.this$0, 866);
        YakAttack.access$1802(this.this$0, "Mithril knife");
      } else if (this.list3.getSelectedItem().equals("Adamant knife")) {
        YakAttack.access$1702(this.this$0, 867);
        YakAttack.access$1802(this.this$0, "Adamant knife");
      } else if (this.list3.getSelectedItem().equals("Rune knife")) {
        YakAttack.access$1702(this.this$0, 868);
        YakAttack.access$1802(this.this$0, "Rune knife");
      } else if (this.list3.getSelectedItem().equals("Bronze dart")) {
        YakAttack.access$1702(this.this$0, 806);
        YakAttack.access$1802(this.this$0, "Bronze dart");
      } else if (this.list3.getSelectedItem().equals("Iron dart")) {
        YakAttack.access$1702(this.this$0, 807);
        YakAttack.access$1802(this.this$0, "Iron dart");
      } else if (this.list3.getSelectedItem().equals("Steel dart")) {
        YakAttack.access$1702(this.this$0, 808);
        YakAttack.access$1802(this.this$0, "Steel dart");
      } else if (this.list3.getSelectedItem().equals("Black dart")) {
        YakAttack.access$1702(this.this$0, 3093);
        YakAttack.access$1802(this.this$0, "Black dart");
      } else if (this.list3.getSelectedItem().equals("Mithril dart")) {
        YakAttack.access$1702(this.this$0, 809);
        YakAttack.access$1802(this.this$0, "Mithril dart");
      } else if (this.list3.getSelectedItem().equals("Adamant dart")) {
        YakAttack.access$1702(this.this$0, 810);
        YakAttack.access$1802(this.this$0, "Adamant dart");
      } else if (this.list3.getSelectedItem().equals("Rune dart")) {
        YakAttack.access$1702(this.this$0, 811);
        YakAttack.access$1802(this.this$0, "Rune dart");
      }
    }
    YakAttack.access$1902(this.this$0, false);
  }

  private void ExitActionPerformed(ActionEvent paramActionEvent) {
    YakAttack.access$1902(this.this$0, false);
    YakAttack.access$2002(this.this$0, true);
    dispose();
  }

  private void initComponents()
  {
    this.panel1 = new JPanel();
    this.label1 = new JLabel();
    this.separator1 = new JSeparator();
    this.label3 = new JLabel();
    this.label4 = new JLabel();
    this.label5 = new JLabel();
    this.label2 = new JLabel();
    this.separator2 = new JSeparator();
    this.separator3 = new JSeparator();
    this.separator4 = new JSeparator();
    this.label6 = new JLabel();
    this.label7 = new JLabel();
    this.tabbedPane1 = new JTabbedPane();
    this.panel2 = new JPanel();
    this.label8 = new JLabel();
    this.label10 = new JLabel();
    this.list3 = new JComboBox();
    this.separator5 = new JSeparator();
    this.DMLine1 = new JLabel();
    this.DMLine2 = new JLabel();
    this.DMLine3 = new JLabel();
    this.separator8 = new JSeparator();
    this.label15 = new JLabel();
    this.checkBox7 = new JCheckBox();
    this.checkBox6 = new JCheckBox();
    this.orginalWepLabel = new JLabel();
    this.orginalWepTextField = new JTextField();
    this.specComboBox = new JComboBox();
    this.panel3 = new JPanel();
    this.label9 = new JLabel();
    this.scrollPane2 = new JScrollPane();
    this.list2 = new JList();
    this.label17 = new JLabel();
    this.textField1 = new JTextField();
    this.checkBox8 = new JCheckBox();
    this.separator10 = new JSeparator();
    this.mouseSpeedLabel = new JLabel();
    this.mouseSpeedSlider = new JSlider();
    this.Start = new JButton();
    this.Exit = new JButton();
    this.label20 = new JLabel();

    setTitle("YakAttack PR0");
    Container localContainer = getContentPane();
    localContainer.setLayout(null);

    this.panel1.setBackground(new Color(204, 204, 204));
    this.panel1.setLayout(null);

    this.label1.setText("YakAttack PR0");
    this.label1.setFont(new Font("Times New Roman", 0, 40));
    this.panel1.add(this.label1);
    this.label1.setBounds(130, 5, 260, 56);
    this.panel1.add(this.separator1);
    this.separator1.setBounds(0, 65, 550, 10);

    this.label3.setText("Ranged");
    this.label3.setFont(this.label3.getFont().deriveFont(2, this.label3.getFont().getSize() + 2.0F));

    this.panel1.add(this.label3);
    this.label3.setBounds(465, 45, 70, 16);

    this.label4.setText("Melee");
    this.label4.setFont(this.label4.getFont().deriveFont(2, this.label4.getFont().getSize() + 2.0F));

    this.panel1.add(this.label4);
    this.label4.setBounds(35, 40, 60, 21);

    this.label5.setText("Fast");
    this.label5.setFont(this.label5.getFont().deriveFont(2, this.label5.getFont().getSize() + 2.0F));

    this.panel1.add(this.label5);
    this.label5.setBounds(10, 10, 70, 16);

    this.label2.setText("Special Attacks");
    this.label2.setFont(this.label2.getFont().deriveFont(2, this.label2.getFont().getSize() + 2.0F));

    this.panel1.add(this.label2);
    this.label2.setBounds(440, 5, 120, 16);

    this.separator2.setOrientation(1);
    this.panel1.add(this.separator2);
    this.separator2.setBounds(100, 0, 15, 65);

    this.separator3.setOrientation(1);
    this.panel1.add(this.separator3);
    this.separator3.setBounds(435, 0, 80, 65);
    this.panel1.add(this.separator4);
    this.separator4.setBounds(0, 310, 550, 10);

    this.label6.setText("Version: " + this.this$0.properties.version());
    this.label6.setBackground(new Color(51, 204, 0));
    this.label6.setForeground(new Color(51, 102, 0));
    this.panel1.add(this.label6);
    this.label6.setBounds(10, 315, 58, 14);

    this.label7.setText("Author: Pervy Shuya");
    this.label7.setFont(this.label7.getFont().deriveFont(this.label7.getFont().getStyle() | 0x1));

    this.panel1.add(this.label7);
    this.label7.setBounds(425, 315, 116, 14);

    this.tabbedPane1.setBackground(new Color(204, 204, 204));

    this.panel2.setBackground(Color.white);
    this.panel2.setLayout(null);

    this.label8.setText("Spec weapon");
    this.label8.setFont(new Font("MV Boli", 1, 15));
    this.panel2.add(this.label8);
    this.label8.setBounds(15, 5, 110, this.label8.getPreferredSize().height);

    this.label10.setText("Pick Up Arrows/Bolts?");
    this.label10.setFont(new Font("MV Boli", 1, 15));
    this.panel2.add(this.label10);
    this.label10.setBounds(145, 5, 180, 26);

    this.list3.setModel(new DefaultComboBoxModel(new String[] { "None", "Bronze arrow", "Iron arrow", "Mithril arrow", "Adamant arrow", "Rune arrow", "Bronze bolts", "Bluerite bolts", "Iron bolts", "Steel bolts", "Black bolts", "Mithril bolts", "Adamant bolts", "Rune bolts", "Broad bolts", "Bronze knife", "Iron knife", "Steel knife", "Black knife", "Mithril knife", "Adamant knife", "Rune knife", "Bronze dart", "Iron dart", "Steel dart", "Black dart", "Mithril dart", "Adamant dart", "Rune dart" }));

    this.panel2.add(this.list3);
    this.list3.setBounds(185, 40, 120, 25);
    this.panel2.add(this.separator5);
    this.separator5.setBounds(0, 145, 145, 10);
    this.panel2.add(this.DMLine1);
    this.DMLine1.setBounds(5, 140, this.DMLine1.getPreferredSize().width, 15);

    this.panel2.add(this.DMLine2);
    this.DMLine2.setBounds(new Rectangle(new Point(5, 155), this.DMLine2.getPreferredSize()));

    this.panel2.add(this.DMLine3);
    this.DMLine3.setBounds(new Rectangle(new Point(5, 170), this.DMLine3.getPreferredSize()));

    this.panel2.add(this.separator8);
    this.separator8.setBounds(145, 145, 190, 10);

    this.label15.setText("GUI Made By Pervy");
    this.label15.setFont(this.label15.getFont().deriveFont(this.label15.getFont().getStyle() | 0x1, this.label15.getFont().getSize() - 2.0F));

    this.label15.setEnabled(false);
    this.panel2.add(this.label15);
    this.label15.setBounds(new Rectangle(new Point(220, 150), this.label15.getPreferredSize()));

    this.checkBox7.setText("Use Special Attacks");
    this.checkBox7.setBackground(Color.white);
    this.panel2.add(this.checkBox7);
    this.checkBox7.setBounds(new Rectangle(new Point(145, 105), this.checkBox7.getPreferredSize()));

    this.checkBox6.setText("Would you like to wait for arrows?");
    this.checkBox6.setBackground(Color.white);
    this.panel2.add(this.checkBox6);
    this.checkBox6.setBounds(145, 70, 189, this.checkBox6.getPreferredSize().height);

    this.orginalWepLabel.setText("Orginal Weapon ID:");
    this.orginalWepLabel.setFont(new Font("Script MT Bold", 3, 12));

    this.panel2.add(this.orginalWepLabel);
    this.orginalWepLabel.setBounds(5, 70, 130, 20);

    this.orginalWepTextField.setHorizontalAlignment(0);

    this.panel2.add(this.orginalWepTextField);
    this.orginalWepTextField.setBounds(25, 105, 77, this.orginalWepTextField.getPreferredSize().height);

    this.specComboBox.setModel(new DefaultComboBoxModel(new String[] { "Dragon dagger (p++)", "Dragon longsword", "Dragon mace", "Dragon battleaxe", "Dragon halberd", "Dragon scimitar", "Dragon claws", "Dragon 2h sword", "Dorgeshuun c'bow", "Magic shortbow", "Seercull", "Dark bow", "Granite maul", "Granite mace", "Abyssal whip", "Ancient mace", "Saradomin sword", "Armadyl godsword", "Bandos godsword", "Saradomin godsword", "Zamorak godsword" }));

    this.panel2.add(this.specComboBox);
    this.specComboBox.setBounds(new Rectangle(new Point(5, 30), this.specComboBox.getPreferredSize()));

    Dimension localDimension = new Dimension();
    Rectangle localRectangle;
    for (int i = 0; i < this.panel2.getComponentCount(); i++) {
      localRectangle = this.panel2.getComponent(i).getBounds();

      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets1 = this.panel2.getInsets();
    localDimension.width += localInsets1.right;
    localDimension.height += localInsets1.bottom;
    this.panel2.setMinimumSize(localDimension);
    this.panel2.setPreferredSize(localDimension);

    this.tabbedPane1.addTab("Combat Options", this.panel2);

    this.panel3.setBackground(Color.white);
    this.panel3.setLayout(null);

    this.label9.setText("What To Eat?");
    this.label9.setFont(new Font("MV Boli", 1, 15));
    this.panel3.add(this.label9);
    this.label9.setBounds(10, 5, 125, 27);

    this.list2.setModel(new YakAttack.YakAttackProGUI.1(this));

    this.list2.setSelectionMode(0);
    this.scrollPane2.setViewportView(this.list2);

    this.panel3.add(this.scrollPane2);
    this.scrollPane2.setBounds(5, 35, 105, 135);

    this.label17.setText("What HP To Eat At");
    this.panel3.add(this.label17);
    this.label17.setBounds(new Rectangle(new Point(130, 50), this.label17.getPreferredSize()));

    this.textField1.setText("500");
    this.panel3.add(this.textField1);
    this.textField1.setBounds(230, 45, 100, this.textField1.getPreferredSize().height);

    this.checkBox8.setText("Would like to eat?");
    this.checkBox8.setBackground(Color.white);
    this.panel3.add(this.checkBox8);
    this.checkBox8.setBounds(170, 10, 115, 23);
    this.panel3.add(this.separator10);
    this.separator10.setBounds(115, 70, 220, 10);

    this.mouseSpeedLabel.setText("Adjust Mouse Speed:");
    this.mouseSpeedLabel.setFont(new Font("Engravers MT", 0, 12));

    this.panel3.add(this.mouseSpeedLabel);
    this.mouseSpeedLabel.setBounds(130, 80, this.mouseSpeedLabel.getPreferredSize().width, 20);

    this.mouseSpeedSlider.setMinimum(1);
    this.mouseSpeedSlider.setMaximum(10);
    this.mouseSpeedSlider.setPaintTicks(true);
    this.mouseSpeedSlider.setPaintLabels(true);
    this.mouseSpeedSlider.setMajorTickSpacing(1);
    this.mouseSpeedSlider.setSnapToTicks(true);
    this.mouseSpeedSlider.setValue(7);
    this.mouseSpeedSlider.setBackground(Color.lightGray);
    this.panel3.add(this.mouseSpeedSlider);
    this.mouseSpeedSlider.setBounds(115, 105, 220, 65);

    localDimension = new Dimension();
    for (int j = 0; j < this.panel3.getComponentCount(); j++) {
      localRectangle = this.panel3.getComponent(j).getBounds();

      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets2 = this.panel3.getInsets();
    localDimension.width += localInsets2.right;
    localDimension.height += localInsets2.bottom;
    this.panel3.setMinimumSize(localDimension);
    this.panel3.setPreferredSize(localDimension);

    this.tabbedPane1.addTab("Food And Other Settings", this.panel3);

    this.panel1.add(this.tabbedPane1);
    this.tabbedPane1.setBounds(100, 65, 340, 195);

    this.Start.setText("Start Script");
    this.Start.addActionListener(new YakAttack.YakAttackProGUI.2(this));

    this.panel1.add(this.Start);
    this.Start.setBounds(155, 275, 90, 25);

    this.Exit.setText("Exit GUI");
    this.Exit.addActionListener(new YakAttack.YakAttackProGUI.3(this));

    this.panel1.add(this.Exit);
    this.Exit.setBounds(305, 275, 90, 25);

    this.label20.setText("text");
    this.panel1.add(this.label20);
    this.label20.setBounds(385, 480, 20, 14);

    localContainer.add(this.panel1);
    this.panel1.setBounds(0, 0, 550, 340);

    localDimension = new Dimension();
    for (int k = 0; k < localContainer.getComponentCount(); k++) {
      localRectangle = localContainer.getComponent(k).getBounds();
      localDimension.width = Math.max(localRectangle.x + localRectangle.width, localDimension.width);

      localDimension.height = Math.max(localRectangle.y + localRectangle.height, localDimension.height);
    }

    Insets localInsets3 = localContainer.getInsets();
    localDimension.width += localInsets3.right;
    localDimension.height += localInsets3.bottom;
    localContainer.setMinimumSize(localDimension);
    localContainer.setPreferredSize(localDimension);

    pack();
    setLocationRelativeTo(getOwner());
  }
}